#-*- coding:utf-8 -*-
from websocket_server import WebsocketServer
import subprocess
import os
import time
import json
# Called for every client connecting (after handshake)
#logstr="%s account:%s ip:%s cmd:%s" %( time.strftime( ISOTIMEFORMAT,time.localtime(time.time())),client['account'],client['address'],cmd_dic[message])

f = file("web/config.json");
s = json.load(f)
f.close
print s['servershell']['1']

print("time:%s" % (time.strftime('%Y-%m-%d %X',time.localtime(time.time()))));
